---
title: XlToolbarProtection Enumeration (Excel)
ms.prod: excel
api_name:
- Excel.XlToolbarProtection
ms.assetid: 985069aa-bf4c-ffbe-1ac6-352494c52d9b
ms.date: 06/08/2017
---


# XlToolbarProtection Enumeration (Excel)

Specifies which properties of a toolbar are restricted. Options can be combined using Or.



|**Name**|**Value**|**Description**|
|:-----|:-----|:-----|
| **xlNoButtonChanges**|1|No button changes permitted.|
| **xlNoChanges**|4|No changes of any kind.|
| **xlNoDockingChanges**|3|No changes to toolbar's docking position.|
| **xlNoShapeChanges**|2|No changes to toolbar shape.|
| **xlToolbarProtectionNone**|-4143|All changes permitted.|

